package com.pym.util;

import java.util.UUID;

/**
 * @ClassName
 * @Description TODO
 * @Author wmj
 * @Date 2021/8/13
 * @Version 1.0
 **/

public class pymUtil {
    //生成随机字符串
    public static String generateUUID(){
        return UUID.randomUUID().toString().replaceAll(" ","").replaceAll("-","");
    }

    public static void main(String[] args) {
        System.out.println(generateUUID());
    }
}
